export interface PointsRecordRequestData {
  /** 当前页码 */
  pageNo: number
  /** 查询条数 */
  pageSize: number
  /** 查询参数：用户手机号 */
  userPhone?: string
  /** 查询参数：类型 1-获得，2-消费 */
  type?: number
  /** 查询参数：来源 order-订单，exchange-兑换，sign-签到 */
  source?: string
}

export interface PointsRecordData {
  id: number
  userId: number
  userPhone: string
  points: number
  type: number
  source: string
  sourceId: string
  description: string
  createTime: string
}

export type PointsRecordResponseData = ApiResponseData<{
  list: PointsRecordData[]
  total: number
}>